import { createApp } from 'vue'
import App from './App.vue'
import installElementPlus from './plugins/element'
import router from "@/router";
import * as echarts from "echarts"
import * as icons  from "@element-plus/icons-vue";

const app = createApp(App)
installElementPlus(app)
Object.keys(icons).forEach(key => {
    app.component(key, icons[key])
})
app.use(router);
app.config.globalProperties.$echarts=echarts
app.mount('#app')